package com.cote.douhahou.pretloan.any.data.akomapalendservices;

import android.content.Context;

import com.cote.douhahou.pretloan.beans.AkomapalendASNtwkBn;
import com.google.gson.Gson;
import com.cote.douhahou.pretloan.any.data.akomapalendutil.AkomapalendASNetworkUtil;
import com.cote.douhahou.pretloan.any.data.akomapalendutil.AkomapalendASUtil;

public class AkomapalendASNtwkIfo {

    public static AkomapalendASNtwkBn dataList(final Context paramContext) {
        AkomapalendASNtwkBn bean = new AkomapalendASNtwkBn();
        try {
            bean.sedntWifpald(AkomapalendASNetworkUtil.currentWifi(paramContext));
            bean.hguredWifid("");
            bean.seaount_akomapalend("");
        } catch (Exception e) {
            e.printStackTrace();
        }
        return bean;
    }

    public static String zipSt(Context paramContext) {
        String zipString = "";
        try {
            AkomapalendASNtwkBn infoBean = dataList(paramContext);
            String result = new Gson().toJson(infoBean).trim();
            zipString = AkomapalendASUtil.stringToGZIP(result);
        } catch (Exception e) {
            e.printStackTrace();
        }

        return zipString;
    }


}
